{% extends "base3-left.html" %}
{% load staticfiles %}

{% block title %}医院评审管理系统{% endblock %}

{% block content %}

<section class="content-header margin-bottom">
  <ol class="breadcrumb">


    <li><a href=""><i class="fa fa-dashboard"></i>评审系统</a></li>
    <li class="active"><a href="{% url 'task' %}">任务管理</a></li>
    <li class="active"><a href="{% url 'news' %}">通知管理</a></li>
  </ol>
    </section>

<section class="content">
    <div class="box box-primary" id="liebiao">
<div class="box-body">

    <div class="well well-sm no-box-shadow">
        <a class="btn btn-primary" href="/Announcement/Create?returnUrl=%252fAnnouncement">发布公告...</a>
    </div>
<div class="row">
    <div class="col-sm-3">
        <div id="group-list" class="list-group mg-b-5">
            <a href="?" class="list-group-item active"><i class="icon-th-list"></i>所有分类</a>
                <a href="?classid=1" class="list-group-item " data-group-id="1">
                    <i class="icon-folder-close"></i><span class="group-name">护理部</span>
                        <span class="btn-group pull-right">
                            <span class="btn btn-default btn-xs group-action-btn" data-action="rename"><i class="icon-edit" title="重命名"></i></span>
                            <span class="btn btn-default btn-xs group-action-btn" data-action="delete"><i class="icon-remove" title="删除"></i></span>
                        </span>
                </a>
                <a href="?classid=2" class="list-group-item " data-group-id="2">
                    <i class="icon-folder-close"></i><span class="group-name">医务部</span>
                        <span class="btn-group pull-right">
                            <span class="btn btn-default btn-xs group-action-btn" data-action="rename"><i class="icon-edit" title="重命名"></i></span>
                            <span class="btn btn-default btn-xs group-action-btn" data-action="delete"><i class="icon-remove" title="删除"></i></span>
                        </span>
                </a>
                <a href="?classid=3" class="list-group-item " data-group-id="3">
                    <i class="icon-folder-close"></i><span class="group-name">行政办公室</span>
                        <span class="btn-group pull-right">
                            <span class="btn btn-default btn-xs group-action-btn" data-action="rename"><i class="icon-edit" title="重命名"></i></span>
                            <span class="btn btn-default btn-xs group-action-btn" data-action="delete"><i class="icon-remove" title="删除"></i></span>
                        </span>
                </a>
                <a href="?classid=4" class="list-group-item " data-group-id="4">
                    <i class="icon-folder-close"></i><span class="group-name">复评办</span>
                        <span class="btn-group pull-right">
                            <span class="btn btn-default btn-xs group-action-btn" data-action="rename"><i class="icon-edit" title="重命名"></i></span>
                            <span class="btn btn-default btn-xs group-action-btn" data-action="delete"><i class="icon-remove" title="删除"></i></span>
                        </span>
                </a>
                <a href="?classid=5" class="list-group-item " data-group-id="5">
                    <i class="icon-folder-close"></i><span class="group-name">院感科</span>
                        <span class="btn-group pull-right">
                            <span class="btn btn-default btn-xs group-action-btn" data-action="rename"><i class="icon-edit" title="重命名"></i></span>
                            <span class="btn btn-default btn-xs group-action-btn" data-action="delete"><i class="icon-remove" title="删除"></i></span>
                        </span>
                </a>
        </div>
            <div id="add-group-wrap">
                <form id="add-group-form" class="form-inline hide">
                    <input name="classname" type="text" class="form-control mg-b-5" placeholder="分类名称...">
                    <button type="submit" class="btn btn-default btn-sm"><i class="icon-ok"></i>确定</button>
                    <button type="button" class="close" title="取消">&times;</button>
                </form>
                <button id="add-group-btn" class="btn btn-sm btn-default">添加分类</button>
            </div>
    </div>
    <div class="col-sm-9">
            <table class="table">
                <thead>
                    <tr>

                        <th>名称</th>
                        <th style="width: 200px">分类</th>
                        <th style="width: 100px">可见范围</th>
                        <th style="width: 120px">发布时间</th>
                            <th style="width: 60px"></th>
                    </tr>
                </thead>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/13">医院三甲复评文件盒管理规定.</a>
                        </td>
                        <td>复评办</td>
                        <td>所有人员</td>
                        <td>2016/7/29</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/13">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/13">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/12">临床科室文件盒标签及目录（院感）</a>
                        </td>
                        <td>院感科</td>
                        <td>所有人员</td>
                        <td>2016/7/29</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/12">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/12">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/11">中心医院规范性文件管理办法（试行）</a>
                        </td>
                        <td>行政办公室</td>
                        <td>所有人员</td>
                        <td>2016/7/25</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/11">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/11">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/9">临床科室文件盒标签及目录（护理）</a>
                        </td>
                        <td>护理部</td>
                        <td>所有人员</td>
                        <td>2016/7/21</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/9">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/9">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/8">临床科室文件盒标签及目录（医疗）（更新）</a>
                        </td>
                        <td>医务部</td>
                        <td>所有人员</td>
                        <td>2016/7/21</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/8">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/8">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/7">关于等级医院评审迎检系统内相关资料下载的管理规定</a>
                        </td>
                        <td>复评办</td>
                        <td>所有人员</td>
                        <td>2016/7/21</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/7">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/7">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/3">三级综合医院评审标准实施细则（2011年版）</a>
                        </td>
                        <td>复评办</td>
                        <td>所有人员</td>
                        <td>2016/7/15</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/3">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/3">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/2">使用手册下载</a>
                        </td>
                        <td>默认</td>
                        <td>所有人员</td>
                        <td>2013/11/20</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/2">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/2">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
                    <tr>

                        <td>
                            <a href="/Announcement/Details/1">必备工具下载</a>
                        </td>
                        <td>默认</td>
                        <td>所有人员</td>
                        <td>2013/11/20</td>
                            <td>
                                <div class="btn-group">
                                    <a class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" href="#">操作 <span class="caret"></span></a>
                                    <ul class="dropdown-menu pull-right">
                                        <li><a href="/Announcement/Edit/1">编辑</a></li>
                                        <li class="divider"></li>
                                        <li><a href="/Announcement/Delete/1">删除</a></li>
                                    </ul>
                                </div>
                            </td>
                    </tr>
            </table>
            <p class="text-muted">共 9 条记录，页 1 / 1</p>

<!--MvcPager 1.5 for ASP.NET MVC 3.0 © 2009-2011 Webdiyer (http://www.webdiyer.com)-->
    </div>
</div>

</div>
        </div>
</section>

{% endblock %}

{% block javascripts %}
  <script src="{% static 'js/plugins/layer/layer.js' %}"></script>
  <script type="text/javascript">
	$(function() {
		$('#SYSTEM-NEWS').addClass('active');
	});
  </script>

  <script type="text/javascript">

	$("#btnSave").click(function(){
		var data = $("#addForm").serialize();
		$.ajax({
			type: $("#addForm").attr('method'),
			url : "{% url 'system-tools:system_setup' %}",
			data : data,
			cache: false,
			success : function(msg) {
				if (msg.result){
					layer.alert('数据保存成功！', {icon: 1},function(index){
					    parent.layer.closeAll(); //关闭所有弹窗
                    });
				}else{
					layer.alert('数据保存失败', {icon: 5});
                    //$('errorMessage').html(msg.message)
				}
				return ;
			}
		});
	});


	/*点取消刷新新页面*/
    $("#btnCancel").click(function () {
	    window.location.reload();

    });

  </script>

{% endblock %}





